<?php
namespace app\index\controller;
use think\Controller;

class Index extends Controller
{
		//显示视图
    public function index()
    {			
				$this->doindex();	
				return $this->fetch('index@index/index');  //不写的时候默认是指向app/index/view/index
		}
		
		//首页方法
		public function doindex(){
			 $this->assign("title","文章列表5555");
		}
}
